package com.bmps.springcloud.insuredmicroservice.service.underwrite.strategy.minordeath.riskstrategy;

import com.bmps.springcloud.insuredmicroservice.model.accept.LcPolModel;

import java.math.BigDecimal;
import java.util.List;

/**
 * @author jackdaw
 */
public interface RiskStrategy {

    /**
     * 计算险种的未成年人意外身故险保额
     *
     * @param lcPolModel  险种信息
     * @param current     true-当前单 false-历史单
     * @param lcPolModels 险种列表
     * @return
     */
    BigDecimal getAmount(LcPolModel lcPolModel, List<LcPolModel> lcPolModels, boolean current);
}
